package com.taptech.doufu.bean;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import java.util.List;

/**
 * Created by zhangyongcun on 16/8/10.
 */
public class SpeakerWallBean {


    /**
     * id : 241
     * type : 1
     * object_type : 61
     * object_id : 1668872
     * msg : [{"split_text":"1928376","day_color":"eaa000","night_color":"8e7338","font":12,"uid":"8888894"},{"split_text":"：@倚山听海","day_color":"eaa000","night_color":"8e7338","font":12,"uid":"1668872"}]
     */

    private CurrentInfoBean current_info;
    /**
     * id : 241
     * type : 1
     * object_type : 61
     * object_id : 1668872
     * msg : [{"split_text":"1928376","day_color":"eaa000","night_color":"8e7338","font":12,"uid":"8888894"},{"split_text":"：@倚山听海","day_color":"eaa000","night_color":"8e7338","font":12,"uid":"1668872"}]
     */

    private List<ListBean> list;
    private String desc;

    public CurrentInfoBean getCurrent_info() {
        return current_info;
    }

    public void setCurrent_info(CurrentInfoBean current_info) {
        this.current_info = current_info;
    }

    public List<ListBean> getList() {
        return list;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static SpeakerWallBean getSpeakerWallBean (String jsonStr) {
        Gson gson = new GsonBuilder().create();
        return gson.fromJson(jsonStr, SpeakerWallBean.class);
    }


    public static class CurrentInfoBean {
        private String id;
        private int type;
        private String object_type;
        private String object_id;
        /**
         * split_text : 1928376
         * day_color : eaa000
         * night_color : 8e7338
         * font : 12
         * uid : 8888894
         */

        private List<MsgBean> msg;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getObject_type() {
            return object_type;
        }

        public void setObject_type(String object_type) {
            this.object_type = object_type;
        }

        public String getObject_id() {
            return object_id;
        }

        public void setObject_id(String object_id) {
            this.object_id = object_id;
        }

        public List<MsgBean> getMsg() {
            return msg;
        }

        public void setMsg(List<MsgBean> msg) {
            this.msg = msg;
        }

        public static class MsgBean {
            private String split_text;
            private String day_color;
            private String night_color;
            private int font;
            private String uid;

            public String getSplit_text() {
                return split_text;
            }

            public void setSplit_text(String split_text) {
                this.split_text = split_text;
            }

            public String getDay_color() {
                return day_color;
            }

            public void setDay_color(String day_color) {
                this.day_color = day_color;
            }

            public String getNight_color() {
                return night_color;
            }

            public void setNight_color(String night_color) {
                this.night_color = night_color;
            }

            public int getFont() {
                return font;
            }

            public void setFont(int font) {
                this.font = font;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }
        }
    }



}
